package com.ljj.VO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class SellerApiVO implements Serializable{

    private static final long serialVersionUID = -722268823377629421L;
    /**店铺名称*/
    @JsonProperty(value = "name")
    private String name;
    /** 蜂鸟专送*/
    @JsonProperty(value = "description")
    private String description;
    /** 设置多长时间送达 */
    @JsonProperty(value = "deliveryTime")
    private Integer deliveryTime;
    /** 综合评分 */
    @JsonProperty(value = "score")
    private Integer score;
    /** 服务态度*/
    @JsonProperty(value = "serviceScore")
    private Integer serviceScore;
    /**商品评分 */
    @JsonProperty(value = "foodScore")
    private Integer foodScore;
    /** */
    @JsonProperty(value = "rankRate")
    private Integer rankRate;
    /** 最低起送价*/
    @JsonProperty(value = "minPrice")
    private Integer minPrice;
    /**商家配送费 */
    @JsonProperty(value = "deliveryPrice")
    private Integer deliveryPrice;
    /** 评论数量*/
    @JsonProperty(value = "ratingCount")
    private Integer ratingCount;
    /** 订单数量*/
    @JsonProperty(value = "sellCount")
    private Integer sellCount;
    /** 公告与活动*/
    @JsonProperty(value = "bulletin")
    private String bulletin;

    //优惠信息
    @JsonProperty(value = "supports")
    private List<SupportsVO> supportsList;

    /** 图片地址*/
    @JsonProperty(value = "avatar")
    private String avatar;

    //商家图片
    @JsonProperty(value = "pics")
    private List picsList;

    //商家信息
    @JsonProperty(value = "infos")
    private List infosList;

    public SellerApiVO(String name, String description, Integer deliveryTime, Integer score, Integer serviceScore, Integer foodScore, Integer rankRate, Integer minPrice, Integer deliveryPrice, Integer ratingCount, Integer sellCount, String bulletin, List<SupportsVO> supportsList, String avatar, List picsList, List infosList) {
        this.name = name;
        this.description = description;
        this.deliveryTime = deliveryTime;
        this.score = score;
        this.serviceScore = serviceScore;
        this.foodScore = foodScore;
        this.rankRate = rankRate;
        this.minPrice = minPrice;
        this.deliveryPrice = deliveryPrice;
        this.ratingCount = ratingCount;
        this.sellCount = sellCount;
        this.bulletin = bulletin;
        this.supportsList = supportsList;
        this.avatar = avatar;
        this.picsList = picsList;
        this.infosList = infosList;
    }
}
